package com.hsgene.consumables.domain.v1;

import java.util.Date;

/**
 * 耗材申请历史
 *
 * @author wangbing
 * @version 1.0, 2018/9/17
 */
public class GeneticGoodsApplyHistory {

    /**
     * 逻辑主键
     */
    private String id;

    /**
     * 耗材库存表中的逻辑ID，通过该ID可以关联到耗材库存表
     */
    private String goodsId;

    /**
     * 耗材申请表的逻辑ID，可以通过ID关联到耗材申请表
     */
    @Deprecated
    private String applyId;

    /**
     * 地服人员的ID
     */
    private String groundServantId;

    /**
     * 本次耗材申请量
     */
    @Deprecated
    private int currentApplyAmount;

    /**
     * 累计的申请量
     */
    private int totalApplyAmount;

    /**
     * 上次耗材使用量
     */
    private int lastUsedAmount;

    /**
     * 耗材总的使用量
     */
    private int totalUsedAmount;

    /**
     * 该记录创建时间
     */
    private Date createDateTime;

    /**
     * 更新时间
     */
    private Date updateDateTime;

    /**
     * 业务数据逻辑删除 0-代表未删除   1-代表删除
     */
    private boolean deleteFlag;

    /**
     * 备注
     */
    private String remarks;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId;
    }

    public String getGroundServantId() {
        return groundServantId;
    }

    public void setGroundServantId(String groundServantId) {
        this.groundServantId = groundServantId;
    }

    public int getCurrentApplyAmount() {
        return currentApplyAmount;
    }

    public void setCurrentApplyAmount(int currentApplyAmount) {
        this.currentApplyAmount = currentApplyAmount;
    }

    public int getTotalApplyAmount() {
        return totalApplyAmount;
    }

    public void setTotalApplyAmount(int totalApplyAmount) {
        this.totalApplyAmount = totalApplyAmount;
    }

    public int getLastUsedAmount() {
        return lastUsedAmount;
    }

    public void setLastUsedAmount(int lastUsedAmount) {
        this.lastUsedAmount = lastUsedAmount;
    }

    public int getTotalUsedAmount() {
        return totalUsedAmount;
    }

    public void setTotalUsedAmount(int totalUsedAmount) {
        this.totalUsedAmount = totalUsedAmount;
    }

    public Date getCreateDateTime() {
        return createDateTime;
    }

    public void setCreateDateTime(Date createDateTime) {
        this.createDateTime = createDateTime;
    }

    public Date getUpdateDateTime() {
        return updateDateTime;
    }

    public void setUpdateDateTime(Date updateDateTime) {
        this.updateDateTime = updateDateTime;
    }

    public boolean getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(boolean deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
